﻿

namespace System.Extensions.Internal
{
  using System.ComponentModel;
  using System.Extensions.Properties;

  /// <summary>
  /// Provides a localizable way to get designer category names.
  /// </summary>
 public class SRCategoryAttribute : CategoryAttribute
  {
    public SRCategoryAttribute(string category)
      : base(category)
    {
    }

    protected override string GetLocalizedString(string value)
    {
      return Resources.ResourceManager.GetString(value);
    }
  }
}
